<h2>Edit Page</h2>
<?php echo $form->create(array('name'=>'editpage','action'=>'edit'));?>
<label>Title<?php echo $form->text('Spage.title');?></label>
<?php echo $form->hidden('Spage.id');?>
<label>Subtitle<?php echo $form->text('Spage.subtitle');?></label>
<label>Text1<?php echo $form->textarea('Spage.text1');?></label>
<label>Text2<?php echo $form->textarea('Spage.text2');?></label>
<label>Text3<?php echo $form->textarea('Spage.text3');?></label>
<label>Text4<?php echo $form->textarea('Spage.text4');?></label>
<label>Text5<?php echo $form->textarea('Spage.text5');?></label>
<label>Published<?php echo $form->checkbox('Spage.published');?></label><br>


<label>Attacthed pictures<?php echo $form->text('Spage.');?></label>
<?php echo $form->end('Save');?>